package net.gz01.wallet.web.config.route;

import com.jfinal.config.Routes;

import net.gz01.wallet.web.controller.merch.AccountController;
import net.gz01.wallet.web.controller.merch.MainController;
import net.gz01.wallet.web.controller.merch.MerchUserController;
import net.gz01.wallet.web.controller.merch.PayOrderController;
import net.gz01.wallet.web.controller.merch.ReportController;
import net.gz01.wallet.web.controller.merch.TradeOrderController;

/**
 * 配置路由规则,相当于配置action访问地址
 *
 * @author zhongzf
 *
 *         2016年6月19日
 */
public class MerchRoute extends Routes {

	@Override
	public void config() {
		super.setBaseViewPath("/WEB-INF/merch/");
		super.add("/merch", MainController.class,"/");
		super.add("/merch/account",AccountController.class,"/");
		super.add("/merch/report",ReportController.class,"/");
		super.add("/merch/user",MerchUserController.class,"/");
		super.add("/merch/payorder",PayOrderController.class,"/");
		super.add("/merch/order",TradeOrderController.class,"/");
	}

}
